<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 480 360" onload="yaa();"  class="reftest-wait">

<g id="g">
  <rect width="440" height="340" fill="url(#pat1)"/>
  <pattern id="pat1" width="20" height="20"><rect/></pattern>
</g>

<script type="text/javascript">

function yaa()
{
  var g = document.getElementById("g");
  document.documentElement.removeChild(g);
  document.documentElement.appendChild(g);
  
  document.documentElement.removeAttribute("class");
}
</script>

</svg>
